8.1.8 Plotting the points to get the graph